
#ifndef RESEARCH_TASK_H
#define RESEARCH_TASK_H

#include <cstdlib>
#include <string>

using namespace std;

const static string RESEARCH_TASK_NAMES[] = {"Doing nothing", 
											 "Building Missile",
											 "Building Shield"};
class ResearchTask {
	public:
		ResearchTask(int pTaskId, int pResearchLevel, int pTimeToComplete);
		bool isCompleted();
		double getTimeToComplete();
		void setTimeToComplete(double pTimeToComplete);
		string getTaskName();
		int getTaskId();
		void setTaskId(int pTaskId);
		int getResearchLevel();
		//returns percentage of task completion
		int getProgress();
	private:
		int taskId;
		int timeToComplete;
		int initialTime;
		int researchLevel;
};

#endif